// 系统相关常量定义

// 分页配置常量
export const PAGINATION_CONFIG = {
  DEFAULT_PAGE_SIZE: 10,
  PAGE_SIZE_OPTIONS: ['10', '20', '50', '100'],
  SHOW_SIZE_CHANGER: true,
  SHOW_QUICK_JUMPER: true,
} as const;

// 主题色常量
export const THEME_COLORS = {
  PRIMARY: '#69cac3',
  SUCCESS: '#52c41a',
  WARNING: '#faad14',
  ERROR: '#ff4d4f',
  INFO: '#1890ff',
} as const;

// API 路径常量
export const API_PATHS = {
  // 认证相关
  LOGIN: '/api/auth/login',
  LOGOUT: '/api/auth/logout',
  REFRESH_TOKEN: '/api/auth/refresh',
  
  // 用户相关
  CURRENT_USER: '/api/user/current',
  USER_LIST: '/api/users',
  
  // 仪器相关
  INSTRUMENTS: '/api/instruments',
  INSTRUMENT_DETAIL: '/api/instruments/:id',
  
  // 订单相关
  ORDERS: '/api/orders',
  ORDER_DETAIL: '/api/orders/:id',
  
  // 预约相关
  RESERVATIONS: '/api/reservations',
  RESERVATION_DETAIL: '/api/reservations/:id',
  
  // 客户相关
  CUSTOMERS: '/api/customers',
  CUSTOMER_DETAIL: '/api/customers/:id',
  
  // 统计相关
  STATISTICS: '/api/statistics',
} as const;

// 本地存储键名常量
export const STORAGE_KEYS = {
  TOKEN: 'auth_token',
  REFRESH_TOKEN: 'refresh_token',
  USER_INFO: 'user_info',
  THEME: 'theme_mode',
  LANGUAGE: 'language',
} as const;

// 时间格式常量
export const DATE_FORMATS = {
  DATE: 'YYYY-MM-DD',
  DATETIME: 'YYYY-MM-DD HH:mm:ss',
  TIME: 'HH:mm:ss',
  MONTH: 'YYYY-MM',
  YEAR: 'YYYY',
} as const; 